﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using Addin665.Frms;

namespace Addin665.Commands {
    /// <summary>
    /// 配置批量get set 的模板
    /// </summary>
    class MultiGetSetCfgCmd : CommandBase {

        MultiGetSetCfgFrm _frm;

        public override string Name {
            get {
                return "MultiGetSetCfgCmd";
            }
        }

        public override void OnClick() {
            base.OnClick();
            if (_frm == null || _frm.IsDisposed) {
                _frm = new MultiGetSetCfgFrm();
            }
            if (!_frm.Visible) {
                _frm.Show(base.ApplicationObject.ActiveWindow as System.Windows.Forms.IWin32Window);
            } 
        }
    }
}
